package com.wicket.okrapp.biz.service.impl;

import cn.hutool.core.bean.BeanUtil;
import com.wicket.okrapp.biz.service.dto.req.*;
import com.wicket.okrapp.biz.service.dto.res.*;
import com.wicket.okrapp.common.util.RedisUtil;
import java.util.List;
import java.util.stream.Collectors;
import javax.annotation.Resource;

import com.wicket.okrcalc.integration.dto.*;
import org.apache.skywalking.apm.toolkit.trace.Tag;
import org.apache.skywalking.apm.toolkit.trace.Tags;
import org.apache.skywalking.apm.toolkit.trace.Trace;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.wicket.okrapp.base.service.MOmsEvaluationObjectTargetCycleService;
import com.wicket.okrcomponent.integration.dto.ImplementManyFieldsDataSetDuplicateRemovalComRespDto;
import com.wicket.okrcomponent.integration.dto.ImplementManyFieldsDataSetDuplicateRemovalComReqDto;
import com.wicket.okrcomponent.integration.dto.DataSetDuplicateRemovalDto;
import cn.hutool.core.collection.CollectionUtil;
import com.wicket.okrapp.common.exception.Assert;
import com.wicket.okrapp.biz.service.nb.NbDashboradStandardData;
import com.wicket.okrapp.biz.service.SmallCircleCommonService;
import com.wicket.okrcomponent.integration.FwCompInterfaceModeClient;
import com.wicket.okrapp.base.service.MOmsTargetObjectivePlanExtendService;
import com.wicket.okrapp.dal.po.mbg.OmsTargetObjectivePlanExtend;
import com.wicket.okrapp.base.service.dto.req.BatchQueryTargetObjPlanExReq;
import com.wicket.okrapp.base.service.MOmsTargetObjectiveService;
import com.wicket.okrapp.dal.po.mbg.OmsTargetObjective;
import com.wicket.okrapp.base.service.dto.req.BatchQueryTargetObjListReq;
import com.wicket.okrapp.base.service.MOmsTargetAttributionCycleService;

import java.util.ArrayList;
import com.wicket.okrcalc.integration.FwCalcDashboradStandardDataClient;
import com.wicket.okrapp.base.service.MOmsCycleTypeService;
import com.wicket.okrapp.dal.po.mbg.OmsCycleType;
import com.wicket.okrapp.base.service.dto.req.BatchQueryTenantCycleTypeReq;
import com.wicket.okrapp.base.service.dto.common.CycleTypeDto;
import com.wicket.okrcomponent.integration.dto.QueryConfItemMatchAnswerListComRespDto;
import com.wicket.okrcomponent.integration.FwCompConfSchemeClient;
import com.wicket.okrapp.base.service.MOmsTaskService;
import com.wicket.okrapp.base.service.dto.req.QueryTargetObjPlanExDetailReq;
import com.wicket.okrapp.base.service.MOmsVirtualOrgMemberDeptService;
import com.wicket.okrapp.dal.po.mbg.OmsVirtualOrgMemberDept;
import com.wicket.okrapp.base.service.dto.req.QueryVirtualOrgMemberDeptDetailReq;
import com.wicket.okrapp.base.service.MOmsExecuteCycleStageService;
import com.wicket.okrcalc.integration.FwCalcStandardDataClient;
import com.wicket.okrapp.biz.service.TargetCalcService;
import com.wicket.okrapp.dal.po.mbg.OmsEvaluationObjectTargetCycle;
import com.wicket.okrapp.base.service.dto.req.QueryTargetCycleByOrderNumListReq;
import com.wicket.okrapp.biz.service.DashboardTargetContentService;
import com.wicket.okrapp.biz.service.dto.common.EvaObjTargetCycleDto;

/**
 * @author ：
 * @date ：
 *
 *
 * @version 1.0
 */
@Service
public class DashboradStandardDataServiceImpl
  implements com.wicket.okrapp.biz.service.DashboradStandardDataService {

  @Resource
  private RedisUtil redisUtil;
@Resource
  private MOmsEvaluationObjectTargetCycleService mOmsEvaluationObjectTargetCycleService;
@Resource
  private NbDashboradStandardData nbDashboradStandardData;
@Resource
  private SmallCircleCommonService smallCircleCommonService;
@Resource
  private FwCompInterfaceModeClient fwCompInterfaceModeClient;
@Resource
  private MOmsTargetObjectivePlanExtendService mOmsTargetObjectivePlanExtendService;
@Resource
  private MOmsTargetObjectiveService mOmsTargetObjectiveService;
@Resource
  private MOmsTargetAttributionCycleService mOmsTargetAttributionCycleService;
@Resource
  private FwCalcDashboradStandardDataClient fwCalcDashboradStandardDataClient;
@Resource
  private MOmsCycleTypeService mOmsCycleTypeService;
//@Resource
 //private MCustomFields3Service mCustomFields3Service;
@Resource
  private FwCompConfSchemeClient fwCompConfSchemeClient;
@Resource
  private MOmsTaskService mOmsTaskService;
@Resource
  private MOmsVirtualOrgMemberDeptService mOmsVirtualOrgMemberDeptService;
@Resource
  private MOmsExecuteCycleStageService mOmsExecuteCycleStageService;
@Resource
  private FwCalcStandardDataClient fwCalcStandardDataClient;
@Resource
  private TargetCalcService targetCalcService;
@Resource
  private DashboardTargetContentService dashboardTargetContentService;
/**
   * D3查询评价模板下小圈子身份列表(公共)[9524]
   * gen by moon at 9/16/2024, 11:36:27 AM
   */
  @Trace(operationName = "D3查询评价模板下小圈子身份列表(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryEvaTempCircleRoleListComRespDto queryEvaTempCircleRoleListCom(QueryEvaTempCircleRoleListComReqDto reqDto){
    
      
      ImplementEightReceivingFieldRespDto receptionServiceRes_3 =null;
//步骤0: M3执行第八接收字段（特殊方法） - implementEightReceivingField
     //ModelCode: receptionService
        ImplementEightReceivingFieldRespDto receptionServiceRes = null;
    ImplementEightReceivingFieldReqDto receptionServiceReq=new ImplementEightReceivingFieldReqDto();
  if(reqDto!=null){
      receptionServiceReq.setIsPersonCharge(reqDto.getIsPersonCharge());//SimpleFieldAssign//sourceId:1897141_1
      receptionServiceReq.setRoleCode(reqDto.getRoleCode());//SimpleFieldAssign//sourceId:1784091_1
receptionServiceReq.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:1904183_1
receptionServiceReq.setUseScene(reqDto.getUseScene());//SimpleFieldAssign//sourceId:1897155_1
receptionServiceReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1784089_1
receptionServiceReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1784092_1
    }
  
    /*M3接收入参字段[8691]  用于特殊方法接收上游入参。 */
Assert.isNull(receptionServiceReq.getEvaluationTemplateId(),"D3查询评价模板下小圈子身份列表(公共)-M3接收入参字段-归属对象ID不能为空",false);
Assert.isNull(receptionServiceReq.getSpaceId(),"D3查询评价模板下小圈子身份列表(公共)-M3接收入参字段-创建于空间ID不能为空",false);
      receptionServiceRes = nbDashboradStandardData.implementEightReceivingField(receptionServiceReq);
      
      
      
    
//步骤1: D3查询我身份所在小圈子列表(公共) - queryIdentitySmallCircleListCom
     QueryIdentitySmallCircleListComRespDto queryIdentitySmallCircleListComRespDto = null;
    QueryIdentitySmallCircleListComReqDto queryIdentitySmallCircleListComReqDto=new QueryIdentitySmallCircleListComReqDto();
queryIdentitySmallCircleListComReqDto.setIsDisplay("TRUE");//sourceId:1784086_1
queryIdentitySmallCircleListComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1784077_1
if(reqDto!=null){
      queryIdentitySmallCircleListComReqDto.setIsPersonCharge(reqDto.getIsPersonCharge());//SimpleFieldAssign//sourceId:1897140_1
      queryIdentitySmallCircleListComReqDto.setRoleCode(reqDto.getRoleCode());//SimpleFieldAssign//sourceId:1784073_1
queryIdentitySmallCircleListComReqDto.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:1904182_1
queryIdentitySmallCircleListComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1784075_1
queryIdentitySmallCircleListComReqDto.setUseScene(reqDto.getUseScene());//SimpleFieldAssign//sourceId:1784074_1
queryIdentitySmallCircleListComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1784083_1
    }
  
    /*D3查询我身份所在小圈子列表(公共)[8803]   */
Assert.isNull(queryIdentitySmallCircleListComReqDto.getEvaluationTemplateId(),"D3查询评价模板下小圈子身份列表(公共)-D3查询我身份所在小圈子列表(公共)-归属对象ID不能为空",false);
Assert.isNull(queryIdentitySmallCircleListComReqDto.getUseScene(),"D3查询评价模板下小圈子身份列表(公共)-D3查询我身份所在小圈子列表(公共)-虚拟组织使用场景不能为空",false);
Assert.isNull(queryIdentitySmallCircleListComReqDto.getSubjectLifeCycle(),"D3查询评价模板下小圈子身份列表(公共)-D3查询我身份所在小圈子列表(公共)-主体生命周期不能为空",false);
Assert.isNull(queryIdentitySmallCircleListComReqDto.getSpaceId(),"D3查询评价模板下小圈子身份列表(公共)-D3查询我身份所在小圈子列表(公共)-创建于空间ID不能为空",false);
      queryIdentitySmallCircleListComRespDto = smallCircleCommonService.queryIdentitySmallCircleListCom(queryIdentitySmallCircleListComReqDto)/*vcase invoke isSameApp*/;
      
      
      
    
//步骤2: D2执行多字段数据集记录去重(公共) - implementManyFieldsDataSetDuplicateRemovalCom
     ImplementManyFieldsDataSetDuplicateRemovalComRespDto implementManyFieldsDataSetDuplicateRemovalComRespDto = null;
    if(queryIdentitySmallCircleListComRespDto !=null){
          ImplementManyFieldsDataSetDuplicateRemovalComReqDto implementManyFieldsDataSetDuplicateRemovalComReqDto=new ImplementManyFieldsDataSetDuplicateRemovalComReqDto();
  if(queryIdentitySmallCircleListComRespDto!= null&&  queryIdentitySmallCircleListComRespDto.getVirtualOrgMemberList() !=null&& !CollectionUtil.isEmpty(queryIdentitySmallCircleListComRespDto.getVirtualOrgMemberList())){
      implementManyFieldsDataSetDuplicateRemovalComReqDto.setDataSetDuplicateRemovalList(//objList-to-objLists
        queryIdentitySmallCircleListComRespDto.getVirtualOrgMemberList().stream().map(item -> {
      DataSetDuplicateRemovalDto elm = new DataSetDuplicateRemovalDto();
      if(item!=null){
      elm.setCommPrimaryKey(item.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:360319_2
    }
        return elm;
      }).collect(Collectors.toList()));//objList-to-objLists//sourceId:1784084_1
    }
  
    /*D2执行多字段数据集记录去重(公共)[7323]   */
    
      implementManyFieldsDataSetDuplicateRemovalComRespDto = fwCompInterfaceModeClient.implementManyFieldsDataSetDuplicateRemovalCom(implementManyFieldsDataSetDuplicateRemovalComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      
           }
    
//步骤3: M3执行第八接收字段（特殊方法） - implementEightReceivingField
     //ModelCode: receptionService
        ImplementEightReceivingFieldRespDto receptionServiceRes_2 = null;
    if(implementManyFieldsDataSetDuplicateRemovalComRespDto !=null){
          ImplementEightReceivingFieldReqDto receptionServiceReq_1=new ImplementEightReceivingFieldReqDto();
  if(implementManyFieldsDataSetDuplicateRemovalComRespDto!= null&&  implementManyFieldsDataSetDuplicateRemovalComRespDto.getDataSetDuplicateRemovalList() !=null&& !CollectionUtil.isEmpty(implementManyFieldsDataSetDuplicateRemovalComRespDto.getDataSetDuplicateRemovalList())){
      receptionServiceReq_1.setOriginalRoleMemberInfoCicleList(implementManyFieldsDataSetDuplicateRemovalComRespDto.getDataSetDuplicateRemovalList().stream().map(item->item.getCommPrimaryKey())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1784443_1
    }
  
    /*M3接收出参字段[8691]  用于特殊方法接收上游入参。 */
    
      receptionServiceRes_2 = nbDashboradStandardData.implementEightReceivingField(receptionServiceReq_1);
      
      
      receptionServiceRes_3 = receptionServiceRes_2;
           }
    
QueryEvaTempCircleRoleListComRespDto retData = new QueryEvaTempCircleRoleListComRespDto();
  if(receptionServiceRes_3!=null){
      retData.setOriginalRoleMemberInfoCicleList(receptionServiceRes_3.getOriginalRoleMemberInfoCicleList());//list-field-assign//sourceId:1784445_1
    }
  

  
  
return retData;
  }
/**
   * D3统计个人指标数(公共)[9571]
   * gen by moon at 5/13/2024, 1:29:36 PM
   */
  @Trace(operationName = "D3统计个人指标数(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public StatisticsPersonalObjectiveNumberComRespDto statisticsPersonalObjectiveNumberCom(StatisticsPersonalObjectiveNumberComReqDto reqDto){


      ImplementFiveReceivingFieldRespDto receptionServiceRes_1 =null;
//virtualUsage 3-3-05批量查指标扩展规划设置  68355
      List<OmsTargetObjectivePlanExtend> listOmsTargetObjectivePlanExtend =new ArrayList<>();
    BatchQueryTargetObjPlanExReq batchQueryTargetObjPlanExReq=new BatchQueryTargetObjPlanExReq();
  batchQueryTargetObjPlanExReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1796031_1_68355
if(reqDto!=null){
      batchQueryTargetObjPlanExReq.setObjectivePlanningExtendList(reqDto.getTargetObjList());//list-field-assign//sourceId:1796030_1_68355
batchQueryTargetObjPlanExReq.setIndicatorKind(reqDto.getIndicatorKind());//SimpleFieldAssign//sourceId:1796041_1_68355
batchQueryTargetObjPlanExReq.setIsCustomObjective(reqDto.getIsCustomObjective());//SimpleFieldAssign//sourceId:1796043_1_68355
batchQueryTargetObjPlanExReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1796037_1_68355
    }

    /*3-3-05批量查指标扩展规划设置[2816]   */
    Assert.isNull(batchQueryTargetObjPlanExReq.getSubjectLifeCycle(),"D3统计个人指标数(公共)-3-3-05批量查指标扩展规划设置-主体生命周期不能为空",false);
      listOmsTargetObjectivePlanExtend = mOmsTargetObjectivePlanExtendService.batchQueryTargetObjPlanEx(batchQueryTargetObjPlanExReq)/*vcase invoke 本地 method 方法调用;*/;



//virtualUsage 3-3-03批量查指标列表  68356
      List<OmsTargetObjective> listOmsTargetObjective =new ArrayList<>();
    if(listOmsTargetObjectivePlanExtend !=null&& !CollectionUtil.isEmpty(listOmsTargetObjectivePlanExtend)&& listOmsTargetObjectivePlanExtend.size()>0 ){
          BatchQueryTargetObjListReq batchQueryTargetObjListReq=new BatchQueryTargetObjListReq();
  batchQueryTargetObjListReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1795277_1_68356
if(listOmsTargetObjectivePlanExtend!= null&& !CollectionUtil.isEmpty(listOmsTargetObjectivePlanExtend)&&  listOmsTargetObjectivePlanExtend !=null&& !CollectionUtil.isEmpty(listOmsTargetObjectivePlanExtend)){
      batchQueryTargetObjListReq.setTargetObjList(listOmsTargetObjectivePlanExtend.stream().map(item->item.getObjectiveId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1795276_1_68356
    }
if(reqDto!=null){
      batchQueryTargetObjListReq.setIsLastObjective(reqDto.getIsLastObjective());//SimpleFieldAssign//sourceId:1795289_1_68356
batchQueryTargetObjListReq.setLevelNumber(reqDto.getLevelNumber());//SimpleFieldAssign//sourceId:1795282_1_68356
batchQueryTargetObjListReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1796046_1_68356
    }

    /*3-3-03批量查指标列表[2203]   */
    Assert.isNull(batchQueryTargetObjListReq.getSubjectLifeCycle(),"D3统计个人指标数(公共)-3-3-03批量查指标列表-主体生命周期不能为空",false);
      listOmsTargetObjective = mOmsTargetObjectiveService.batchQueryTargetObjList(batchQueryTargetObjListReq)/*vcase invoke 本地 method 方法调用;*/;



           }
//virtualUsage D4统计指标数(公共)  68357
      StatisticsObjectiveNumComRespDto statisticsObjectiveNumComRespDto = null;
    if(listOmsTargetObjective !=null&& !CollectionUtil.isEmpty(listOmsTargetObjective)&& listOmsTargetObjective.size()>0 ){
          StatisticsObjectiveNumComReqDto statisticsObjectiveNumComReqDto=new StatisticsObjectiveNumComReqDto();
  if(listOmsTargetObjective!= null&& !CollectionUtil.isEmpty(listOmsTargetObjective)&&  listOmsTargetObjective !=null&& !CollectionUtil.isEmpty(listOmsTargetObjective)){
      statisticsObjectiveNumComReqDto.setContentAmountList(listOmsTargetObjective.stream().map(item->item.getObjectiveId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1794550_1_68357
    }

    /*D4统计指标数(公共)[8925]   */

      statisticsObjectiveNumComRespDto = fwCalcDashboradStandardDataClient.statisticsObjectiveNumCom(statisticsObjectiveNumComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;



           }
//virtualUsage M3接收统计指标数出参  68358
      //ModelCode: receptionService
        ImplementFiveReceivingFieldRespDto receptionServiceRes = null;
    if(statisticsObjectiveNumComRespDto !=null){
          ImplementFiveReceivingFieldReqDto receptionServiceReq=new ImplementFiveReceivingFieldReqDto();
  if(statisticsObjectiveNumComRespDto!=null){
      receptionServiceReq.setComNumField(statisticsObjectiveNumComRespDto.getComNumField());//SimpleFieldAssign//sourceId:1796056_1_68358
    }

    /*M3接收统计指标数出参[8467]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq.getComNumField(),"D3统计个人指标数(公共)-M3接收统计指标数出参-通用数值字段（整数型）不能为空",false);
      receptionServiceRes = nbDashboradStandardData.implementFiveReceivingField(receptionServiceReq);


      receptionServiceRes_1 = receptionServiceRes;
           }
StatisticsPersonalObjectiveNumberComRespDto retData = new StatisticsPersonalObjectiveNumberComRespDto();
  if(receptionServiceRes_1!=null){
      retData.setComNumField(receptionServiceRes_1.getComNumField());//SimpleFieldAssign//sourceId:1796058_1
    }




return retData;
  }
/**
   * D3统计部门下人员指标数(公共)[9572]
   * gen by moon at 5/13/2024, 1:29:38 PM
   */
  @Trace(operationName = "D3统计部门下人员指标数(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public StatisticsDeptPersonalObjectiveNumberComRespDto statisticsDeptPersonalObjectiveNumberCom(StatisticsDeptPersonalObjectiveNumberComReqDto reqDto){


      ImplementFiveReceivingFieldRespDto receptionServiceRes_1 =null;
//virtualUsage 3-3-05批量查指标扩展规划设置（用于过滤是否包含O或KR以及自定义)  68360
      List<OmsTargetObjectivePlanExtend> listOmsTargetObjectivePlanExtend =new ArrayList<>();
    BatchQueryTargetObjPlanExReq batchQueryTargetObjPlanExReq=new BatchQueryTargetObjPlanExReq();
  batchQueryTargetObjPlanExReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1796069_1_68360
if(reqDto!=null){
      batchQueryTargetObjPlanExReq.setObjectivePlanningExtendList(reqDto.getTargetObjList());//list-field-assign//sourceId:1796068_1_68360
batchQueryTargetObjPlanExReq.setIndicatorKind(reqDto.getIndicatorKind());//SimpleFieldAssign//sourceId:1796079_1_68360
batchQueryTargetObjPlanExReq.setIsCustomObjective(reqDto.getIsCustomObjective());//SimpleFieldAssign//sourceId:1796080_1_68360
batchQueryTargetObjPlanExReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1796075_1_68360
    }

    /*3-3-05批量查指标扩展规划设置（用于过滤是否包含O或KR以及自定义)[2816]   */
    Assert.isNull(batchQueryTargetObjPlanExReq.getEvaluationTemplateId(),"D3统计部门下人员指标数(公共)-3-3-05批量查指标扩展规划设置（用于过滤是否包含O或KR以及自定义)-冗余评价模板ID不能为空",false);
Assert.isNull(batchQueryTargetObjPlanExReq.getSubjectLifeCycle(),"D3统计部门下人员指标数(公共)-3-3-05批量查指标扩展规划设置（用于过滤是否包含O或KR以及自定义)-主体生命周期不能为空",false);
      listOmsTargetObjectivePlanExtend = mOmsTargetObjectivePlanExtendService.batchQueryTargetObjPlanEx(batchQueryTargetObjPlanExReq)/*vcase invoke 本地 method 方法调用;*/;



//virtualUsage 3-3-03批量查指标列表  68361
      List<OmsTargetObjective> listOmsTargetObjective =new ArrayList<>();
    if(listOmsTargetObjectivePlanExtend !=null&& !CollectionUtil.isEmpty(listOmsTargetObjectivePlanExtend)&& listOmsTargetObjectivePlanExtend.size()>0 ){
          BatchQueryTargetObjListReq batchQueryTargetObjListReq=new BatchQueryTargetObjListReq();
  batchQueryTargetObjListReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1796083_1_68361
if(listOmsTargetObjectivePlanExtend!= null&& !CollectionUtil.isEmpty(listOmsTargetObjectivePlanExtend)&&  listOmsTargetObjectivePlanExtend !=null&& !CollectionUtil.isEmpty(listOmsTargetObjectivePlanExtend)){
      batchQueryTargetObjListReq.setTargetObjList(listOmsTargetObjectivePlanExtend.stream().map(item->item.getObjectiveId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1796082_1_68361
    }
if(reqDto!=null){
      batchQueryTargetObjListReq.setIsLastObjective(reqDto.getIsLastObjective());//SimpleFieldAssign//sourceId:1796095_1_68361
batchQueryTargetObjListReq.setLevelNumber(reqDto.getLevelNumber());//SimpleFieldAssign//sourceId:1796088_1_68361
batchQueryTargetObjListReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1796093_1_68361
    }

    /*3-3-03批量查指标列表[2203]   */
    Assert.isNull(batchQueryTargetObjListReq.getEvaluationTemplateId(),"D3统计部门下人员指标数(公共)-3-3-03批量查指标列表-冗余评价模板ID不能为空",false);
Assert.isNull(batchQueryTargetObjListReq.getSubjectLifeCycle(),"D3统计部门下人员指标数(公共)-3-3-03批量查指标列表-主体生命周期不能为空",false);
      listOmsTargetObjective = mOmsTargetObjectiveService.batchQueryTargetObjList(batchQueryTargetObjListReq)/*vcase invoke 本地 method 方法调用;*/;



           }
//virtualUsage D4统计指标数(公共)  68362
      StatisticsObjectiveNumComRespDto statisticsObjectiveNumComRespDto = null;
    if(listOmsTargetObjective !=null&& !CollectionUtil.isEmpty(listOmsTargetObjective)&& listOmsTargetObjective.size()>0 ){
          StatisticsObjectiveNumComReqDto statisticsObjectiveNumComReqDto=new StatisticsObjectiveNumComReqDto();
  if(listOmsTargetObjective!= null&& !CollectionUtil.isEmpty(listOmsTargetObjective)&&  listOmsTargetObjective !=null&& !CollectionUtil.isEmpty(listOmsTargetObjective)){
      statisticsObjectiveNumComReqDto.setContentAmountList(listOmsTargetObjective.stream().map(item->item.getObjectiveId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1796019_1_68362
    }

    /*D4统计指标数(公共)[8925]   */

      statisticsObjectiveNumComRespDto = fwCalcDashboradStandardDataClient.statisticsObjectiveNumCom(statisticsObjectiveNumComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;



           }
//virtualUsage M3接收指标数出参  68363
      //ModelCode: receptionService
        ImplementFiveReceivingFieldRespDto receptionServiceRes = null;
    if(statisticsObjectiveNumComRespDto !=null){
          ImplementFiveReceivingFieldReqDto receptionServiceReq=new ImplementFiveReceivingFieldReqDto();
  if(statisticsObjectiveNumComRespDto!=null){
      receptionServiceReq.setComNumField(statisticsObjectiveNumComRespDto.getComNumField());//SimpleFieldAssign//sourceId:1796108_1_68363
    }

    /*M3接收指标数出参[8467]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq.getComNumField(),"D3统计部门下人员指标数(公共)-M3接收指标数出参-通用数值字段（整数型）不能为空",false);
      receptionServiceRes = nbDashboradStandardData.implementFiveReceivingField(receptionServiceReq);


      receptionServiceRes_1 = receptionServiceRes;
           }
StatisticsDeptPersonalObjectiveNumberComRespDto retData = new StatisticsDeptPersonalObjectiveNumberComRespDto();
  if(receptionServiceRes_1!=null){
      retData.setComNumField(receptionServiceRes_1.getComNumField());//SimpleFieldAssign//sourceId:1796110_1
    }




return retData;
  }
/**
   * D3查询目标看板更新周期类型列表[9636]
   * gen by moon at 5/21/2024, 10:42:34 AM
   */
  @Trace(operationName = "D3查询目标看板更新周期类型列表")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryTargetBoardUpdateCycleTypeCodeListRespDto queryTargetBoardUpdateCycleTypeCodeList(QueryTargetBoardUpdateCycleTypeCodeListReqDto reqDto){


      ImplementElevenReceivingFieldRespDto receptionServiceRes_1 =null;
if((reqDto!= null&&  reqDto.getParentSubMidCycleType() !=null && reqDto.getParentSubMidCycleType().equals("PARENT_CYCLE")||reqDto!= null&&  reqDto.getParentSubMidCycleType() !=null && reqDto.getParentSubMidCycleType().equals("MID_CYCLE"))) {
        //if((D3查询目标看板更新周期类型列表.父子中周期类型 等于 父周期 or D3查询目标看板更新周期类型列表.父子中周期类型 等于 中期))  68685

QueryConfItemMatchAnswerListComRespDto queryConfItemMatchAnswerListComRespDto = null;
    com.wicket.okrcomponent.integration.dto.QueryConfItemMatchAnswerListComReqDto queryConfItemMatchAnswerListComReqDto=new com.wicket.okrcomponent.integration.dto.QueryConfItemMatchAnswerListComReqDto();
  queryConfItemMatchAnswerListComReqDto.setConfItemCode("SUBCYCLE_TYPE");//CUSTOM_CONVENTION//sourceId:1810475_1_68686
queryConfItemMatchAnswerListComReqDto.setIsPlatData("FALSE");//sourceId:1810478_1_68686
if(reqDto!=null){
      queryConfItemMatchAnswerListComReqDto.setResultAspObjId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1810477_1_68686
    }

    /*D2评价模板子周期类型配置答案[2505]   */
    Assert.isNull(queryConfItemMatchAnswerListComReqDto.getResultAspObjId(),"D3查询目标看板更新周期类型列表-D2评价模板子周期类型配置答案-开通对象ID不能为空",false);
Assert.isNull(queryConfItemMatchAnswerListComReqDto.getConfItemCode(),"D3查询目标看板更新周期类型列表-D2评价模板子周期类型配置答案-配置项标识不能为空",false);
Assert.isNull(queryConfItemMatchAnswerListComReqDto.getIsPlatData(),"D3查询目标看板更新周期类型列表-D2评价模板子周期类型配置答案-是否标准答案不能为空",false);
      queryConfItemMatchAnswerListComRespDto = fwCompConfSchemeClient.queryConfItemMatchAnswerListCom(queryConfItemMatchAnswerListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;



List<OmsCycleType> listOmsCycleType =new ArrayList<>();
    if(queryConfItemMatchAnswerListComRespDto !=null){
    BatchQueryTenantCycleTypeReq batchQueryTenantCycleTypeReq=new BatchQueryTenantCycleTypeReq();
  if(queryConfItemMatchAnswerListComRespDto!= null&&  queryConfItemMatchAnswerListComRespDto.getConfSchemeItemResultList() !=null&& !CollectionUtil.isEmpty(queryConfItemMatchAnswerListComRespDto.getConfSchemeItemResultList())){
      batchQueryTenantCycleTypeReq.setTenantCycleTypeList(queryConfItemMatchAnswerListComRespDto.getConfSchemeItemResultList().stream().map(item->item.getEndValue())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1810763_1_68699
    }

    /*3-4-02批量查周期类型byCode（用于获取周期类型名称）[5291]   */

      listOmsCycleType = mOmsCycleTypeService.batchQueryTenantCycleType(batchQueryTenantCycleTypeReq)/*vcase invoke 本地 method 方法调用;*/;



           }
//ModelCode: receptionService
        ImplementElevenReceivingFieldRespDto receptionServiceRes = null;
    if(listOmsCycleType !=null&& !CollectionUtil.isEmpty(listOmsCycleType)&& listOmsCycleType.size()>0 ){
          ImplementElevenReceivingFieldReqDto receptionServiceReq=new ImplementElevenReceivingFieldReqDto();
  if(listOmsCycleType!= null&& !CollectionUtil.isEmpty(listOmsCycleType)&&  listOmsCycleType !=null&& !CollectionUtil.isEmpty(listOmsCycleType)){
      receptionServiceReq.setCycleTypeList(listOmsCycleType.stream().map(item -> BeanUtil.toBean(item, CycleTypeDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1812068_1_68748
    }

    /*M3接收更新周期类型列表出参[9482]  用于特殊方法接收上游入参。 */

      receptionServiceRes = nbDashboradStandardData.implementElevenReceivingField(receptionServiceReq);


      receptionServiceRes_1 = receptionServiceRes;
           }
      }
else if((reqDto!= null&&  reqDto.getParentSubMidCycleType() !=null && reqDto.getParentSubMidCycleType().equals("SUB_CYCLE")||reqDto!= null&&  reqDto.getParentSubMidCycleType() !=null && reqDto.getParentSubMidCycleType().equals("PROCESS_CYCLE"))){
       //elseif((D3查询目标看板更新周期类型列表.父子中周期类型 等于 子周期 or D3查询目标看板更新周期类型列表.父子中周期类型 等于 过程周期))  68687

QueryConfItemMatchAnswerListComRespDto queryConfItemMatchAnswerListComRespDto_2 = null;
    com.wicket.okrcomponent.integration.dto.QueryConfItemMatchAnswerListComReqDto queryConfItemMatchAnswerListComReqDto_1=new com.wicket.okrcomponent.integration.dto.QueryConfItemMatchAnswerListComReqDto();
  queryConfItemMatchAnswerListComReqDto_1.setConfItemCode("PROCESS_STAGE_CYCLE_TYPE");//CUSTOM_CONVENTION//sourceId:1810466_1_68688
queryConfItemMatchAnswerListComReqDto_1.setIsPlatData("FALSE");//sourceId:1810469_1_68688
if(reqDto!=null){
      queryConfItemMatchAnswerListComReqDto_1.setResultAspObjId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1810468_1_68688
    }

    /*D2评价模板配置的过程周期类型配置答案[2505]   */
    Assert.isNull(queryConfItemMatchAnswerListComReqDto_1.getResultAspObjId(),"D3查询目标看板更新周期类型列表-D2评价模板配置的过程周期类型配置答案-开通对象ID不能为空",false);
Assert.isNull(queryConfItemMatchAnswerListComReqDto_1.getConfItemCode(),"D3查询目标看板更新周期类型列表-D2评价模板配置的过程周期类型配置答案-配置项标识不能为空",false);
Assert.isNull(queryConfItemMatchAnswerListComReqDto_1.getIsPlatData(),"D3查询目标看板更新周期类型列表-D2评价模板配置的过程周期类型配置答案-是否标准答案不能为空",false);
      queryConfItemMatchAnswerListComRespDto_2 = fwCompConfSchemeClient.queryConfItemMatchAnswerListCom(queryConfItemMatchAnswerListComReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;



//ModelCode: receptionService
        ImplementElevenReceivingFieldRespDto receptionServiceRes_2 = null;
    if(queryConfItemMatchAnswerListComRespDto_2 !=null){
          ImplementElevenReceivingFieldReqDto receptionServiceReq_1=new ImplementElevenReceivingFieldReqDto();
  if(queryConfItemMatchAnswerListComRespDto_2!= null&&  queryConfItemMatchAnswerListComRespDto_2.getConfSchemeItemResultList() !=null&& !CollectionUtil.isEmpty(queryConfItemMatchAnswerListComRespDto_2.getConfSchemeItemResultList())){
      receptionServiceReq_1.setCycleTypeList(//objList-to-objLists
        queryConfItemMatchAnswerListComRespDto_2.getConfSchemeItemResultList().stream().map(item -> {
      CycleTypeDto elm = new CycleTypeDto();
      if(item!=null){
      elm.setCycleTypeCode(item.getEndValue());//SimpleFieldAssign//sourceId:364340_2_68749
elm.setCycleTypeName(item.getConfOptionName());//SimpleFieldAssign//sourceId:364341_2_68749
    }
        return elm;
      }).collect(Collectors.toList()));//objList-to-objLists//sourceId:1812068_1_68749
    }

    /*M3接收更新周期类型列表出参[9482]  用于特殊方法接收上游入参。 */

      receptionServiceRes_2 = nbDashboradStandardData.implementElevenReceivingField(receptionServiceReq_1);


      receptionServiceRes_1 = receptionServiceRes_2;
           }
    }
QueryTargetBoardUpdateCycleTypeCodeListRespDto retData = new QueryTargetBoardUpdateCycleTypeCodeListRespDto();
  if(receptionServiceRes_1!=null){
      retData.setCycleTypeList(receptionServiceRes_1.getCycleTypeList().stream().map(item -> BeanUtil.toBean(item, CycleTypeDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1812070_1
    }




return retData;
  }
/**
   * D3分析目标大屏基层部门ID(公共)[9833]
   * gen by moon at 6/19/2024, 6:36:26 PM
   */
  @Trace(operationName = "D3分析目标大屏基层部门ID(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public AnalysisDashboardBasicDeptIdComRespDto analysisDashboardBasicDeptIdCom(AnalysisDashboardBasicDeptIdComReqDto reqDto){


      OmsVirtualOrgMemberDept omsVirtualOrgMemberDept_1 =null;
if((reqDto!= null&&  reqDto.getTargetCycleContentTypeCode() !=null && reqDto.getTargetCycleContentTypeCode().equals("OBJECTIVE"))) {
        //if(D3分析目标大屏基层部门ID(公共).关联目标内容类型编码 等于 指标)  70346

OmsTargetObjectivePlanExtend omsTargetObjectivePlanExtend = null;
    QueryTargetObjPlanExDetailReq queryTargetObjPlanExDetailReq=new QueryTargetObjPlanExDetailReq();
  queryTargetObjPlanExDetailReq.setIsArchive("FALSE");//sourceId:1878282_1_70347
if(reqDto!=null){
      queryTargetObjPlanExDetailReq.setObjectiveId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1878280_1_70347
queryTargetObjPlanExDetailReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1878281_1_70347
    }

    /*3-3-05查指标扩展规划设置详情[2725]   */
    Assert.isNull(queryTargetObjPlanExDetailReq.getObjectiveId(),"D3分析目标大屏基层部门ID(公共)-3-3-05查指标扩展规划设置详情-归属指标ID不能为空",false);
Assert.isNull(queryTargetObjPlanExDetailReq.getEvaluationTemplateId(),"D3分析目标大屏基层部门ID(公共)-3-3-05查指标扩展规划设置详情-冗余评价模板ID不能为空",false);
Assert.isNull(queryTargetObjPlanExDetailReq.getIsArchive(),"D3分析目标大屏基层部门ID(公共)-3-3-05查指标扩展规划设置详情-是否存档不能为空",false);
      omsTargetObjectivePlanExtend = mOmsTargetObjectivePlanExtendService.queryTargetObjPlanExDetail(queryTargetObjPlanExDetailReq)/*vcase invoke 本地 method 方法调用;*/;



if((omsTargetObjectivePlanExtend!= null&&  omsTargetObjectivePlanExtend.getRespBodyType() !=null && omsTargetObjectivePlanExtend.getRespBodyType().equals("DEPT"))) {
        //if(3-3-05查指标责任主体类型.责任主体类型 等于 部门)  70348

OmsVirtualOrgMemberDept omsVirtualOrgMemberDept = null;
    QueryVirtualOrgMemberDeptDetailReq queryVirtualOrgMemberDeptDetailReq=new QueryVirtualOrgMemberDeptDetailReq();
  queryVirtualOrgMemberDeptDetailReq.setIsArchive("FALSE");//sourceId:1878316_1_70350
if(reqDto!=null){
      queryVirtualOrgMemberDeptDetailReq.setEntityId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1878314_1_70350
queryVirtualOrgMemberDeptDetailReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1878315_1_70350
    }

    /*3-6-03查虚拟成员部门详情[2518]   */
    Assert.isNull(queryVirtualOrgMemberDeptDetailReq.getEntityId(),"D3分析目标大屏基层部门ID(公共)-3-6-03查虚拟成员部门详情-冗余内容表主键ID不能为空",false);
Assert.isNull(queryVirtualOrgMemberDeptDetailReq.getEvaluationTemplateId(),"D3分析目标大屏基层部门ID(公共)-3-6-03查虚拟成员部门详情-归属对象ID不能为空",false);
Assert.isNull(queryVirtualOrgMemberDeptDetailReq.getIsArchive(),"D3分析目标大屏基层部门ID(公共)-3-6-03查虚拟成员部门详情-是否存档不能为空",false);
      omsVirtualOrgMemberDept = mOmsVirtualOrgMemberDeptService.queryVirtualOrgMemberDeptDetail(queryVirtualOrgMemberDeptDetailReq)/*vcase invoke 本地 method 方法调用;*/;


      omsVirtualOrgMemberDept_1 = omsVirtualOrgMemberDept;
      }
      }
AnalysisDashboardBasicDeptIdComRespDto retData = new AnalysisDashboardBasicDeptIdComRespDto();
  if(omsVirtualOrgMemberDept_1!=null){
      retData.setDeptId(omsVirtualOrgMemberDept_1.getDeptId());//SimpleFieldAssign//sourceId:1878318_1
    }




return retData;
  }
/**
   * D3执行查询父子中目标归属周期列表(公共)[9886]
   * gen by moon at 6/30/2024, 12:45:36 AM
   */
  @Trace(operationName = "D3执行查询父子中目标归属周期列表(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementParentSubMidTargetAttributionCycleComRespDto implementParentSubMidTargetAttributionCycleCom(ImplementParentSubMidTargetAttributionCycleComReqDto reqDto){


      ImplementElevenReceivingFieldRespDto receptionServiceRes_1 =null;
//virtualUsage D4-执行父子中周期类型分析(公共)  71066
      ImplementParentSubMidCycleTypeAnalysisComRespDto implementParentSubMidCycleTypeAnalysisComRespDto = null;
    ImplementParentSubMidCycleTypeAnalysisComReqDto implementParentSubMidCycleTypeAnalysisComReqDto=new ImplementParentSubMidCycleTypeAnalysisComReqDto();
  if(reqDto!=null){
      implementParentSubMidCycleTypeAnalysisComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1904782_1_71066
implementParentSubMidCycleTypeAnalysisComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1904781_1_71066
    }

    /*D4-执行父子中周期类型分析(公共)[6228]   */
    Assert.isNull(implementParentSubMidCycleTypeAnalysisComReqDto.getParentSubMidCycleType(),"D3执行查询父子中目标归属周期列表(公共)-D4-执行父子中周期类型分析(公共)-父子中周期类型不能为空",false);
Assert.isNull(implementParentSubMidCycleTypeAnalysisComReqDto.getCycleId(),"D3执行查询父子中目标归属周期列表(公共)-D4-执行父子中周期类型分析(公共)-周期ID不能为空",false);
      implementParentSubMidCycleTypeAnalysisComRespDto = fwCalcStandardDataClient.implementParentSubMidCycleTypeAnalysisCom(implementParentSubMidCycleTypeAnalysisComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;



//virtualUsage D3查询目标归属周期列表(公共)  71067
      QueryCurAndAncestorTargetAttributionCycleListComRespDto queryCurAndAncestorTargetAttributionCycleListComRespDto = null;
    if(implementParentSubMidCycleTypeAnalysisComRespDto !=null){
          QueryCurAndAncestorTargetAttributionCycleListComReqDto queryCurAndAncestorTargetAttributionCycleListComReqDto=new QueryCurAndAncestorTargetAttributionCycleListComReqDto();
  if(reqDto!=null){
      queryCurAndAncestorTargetAttributionCycleListComReqDto.setEvaObjEntityId(reqDto.getEvaObjEntityId());//SimpleFieldAssign//sourceId:1904759_1_71067
queryCurAndAncestorTargetAttributionCycleListComReqDto.setEvaObjTypeCode(reqDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:1904760_1_71067
queryCurAndAncestorTargetAttributionCycleListComReqDto.setParentEvaObjTargetCycleId(reqDto.getParentEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1910399_1_71067
queryCurAndAncestorTargetAttributionCycleListComReqDto.setBelongToContentTypeCode(reqDto.getBelongToContentTypeCode());//SimpleFieldAssign//sourceId:1904766_1_71067
queryCurAndAncestorTargetAttributionCycleListComReqDto.setTargetContentLevelNumber(reqDto.getTargetContentLevelNumber());//SimpleFieldAssign//sourceId:1904767_1_71067
queryCurAndAncestorTargetAttributionCycleListComReqDto.setIsLastCategory(reqDto.getIsLastCategory());//SimpleFieldAssign//sourceId:1904777_1_71067
queryCurAndAncestorTargetAttributionCycleListComReqDto.setIsLastObjective(reqDto.getIsLastObjective());//SimpleFieldAssign//sourceId:1904776_1_71067
queryCurAndAncestorTargetAttributionCycleListComReqDto.setOneLevelCategoryId(reqDto.getOneLevelCategoryId());//SimpleFieldAssign//sourceId:1905332_1_71067
queryCurAndAncestorTargetAttributionCycleListComReqDto.setCorrelationLastTargetCatId(reqDto.getCorrelationLastTargetCatId());//SimpleFieldAssign//sourceId:1905333_1_71067
queryCurAndAncestorTargetAttributionCycleListComReqDto.setDashboradPrimaryDeptId(reqDto.getDashboradPrimaryDeptId());//SimpleFieldAssign//sourceId:1904771_1_71067
queryCurAndAncestorTargetAttributionCycleListComReqDto.setDashboradBasicDeptId(reqDto.getDashboradBasicDeptId());//SimpleFieldAssign//sourceId:1904772_1_71067
queryCurAndAncestorTargetAttributionCycleListComReqDto.setDashboradOriginalRoleMemberId(reqDto.getDashboradOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1904773_1_71067
queryCurAndAncestorTargetAttributionCycleListComReqDto.setDashboradDirectorOriginalRoleMemberId(reqDto.getDashboradDirectorOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1904774_1_71067
queryCurAndAncestorTargetAttributionCycleListComReqDto.setDashboradDeptLeaderOriginalRoleMemberId(reqDto.getDashboradDeptLeaderOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1904775_1_71067
queryCurAndAncestorTargetAttributionCycleListComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1904768_1_71067
queryCurAndAncestorTargetAttributionCycleListComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1904769_1_71067
    }
if(implementParentSubMidCycleTypeAnalysisComRespDto!=null){
      queryCurAndAncestorTargetAttributionCycleListComReqDto.setParentSubMidCycleType(implementParentSubMidCycleTypeAnalysisComRespDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1904761_1_71067
queryCurAndAncestorTargetAttributionCycleListComReqDto.setCycleId(implementParentSubMidCycleTypeAnalysisComRespDto.getCycleId());//SimpleFieldAssign//sourceId:1904762_1_71067
    }

    /*D3查询目标归属周期列表(公共)[9728]   */
    Assert.isNull(queryCurAndAncestorTargetAttributionCycleListComReqDto.getEvaObjEntityId(),"D3执行查询父子中目标归属周期列表(公共)-D3查询目标归属周期列表(公共)-主树被评对象内容表主键ID不能为空",false);
Assert.isNull(queryCurAndAncestorTargetAttributionCycleListComReqDto.getEvaObjTypeCode(),"D3执行查询父子中目标归属周期列表(公共)-D3查询目标归属周期列表(公共)-主树被评对象类型编码不能为空",false);
Assert.isNull(queryCurAndAncestorTargetAttributionCycleListComReqDto.getParentSubMidCycleType(),"D3执行查询父子中目标归属周期列表(公共)-D3查询目标归属周期列表(公共)-父子中过程周期类型不能为空",false);
Assert.isNull(queryCurAndAncestorTargetAttributionCycleListComReqDto.getEvaluationTemplateId(),"D3执行查询父子中目标归属周期列表(公共)-D3查询目标归属周期列表(公共)-冗余评价模板ID不能为空",false);
Assert.isNull(queryCurAndAncestorTargetAttributionCycleListComReqDto.getSpaceId(),"D3执行查询父子中目标归属周期列表(公共)-D3查询目标归属周期列表(公共)-创建于空间ID不能为空",false);
      queryCurAndAncestorTargetAttributionCycleListComRespDto = targetCalcService.queryCurAndAncestorTargetAttributionCycleListCom(queryCurAndAncestorTargetAttributionCycleListComReqDto)/*vcase invoke isSameApp*/;



           }
if((queryCurAndAncestorTargetAttributionCycleListComRespDto!= null&&  queryCurAndAncestorTargetAttributionCycleListComRespDto.getTargetBelongCycleList() !=null && queryCurAndAncestorTargetAttributionCycleListComRespDto.getTargetBelongCycleList().size()>0)) {
        //if(D3查询目标归属周期列表(公共).目标归属周期列表数据集条数 大于 0)  71068

//ModelCode: receptionService
        ImplementElevenReceivingFieldRespDto receptionServiceRes = null;
    if(queryCurAndAncestorTargetAttributionCycleListComRespDto !=null&&implementParentSubMidCycleTypeAnalysisComRespDto !=null){
          ImplementElevenReceivingFieldReqDto receptionServiceReq=new ImplementElevenReceivingFieldReqDto();
  if(queryCurAndAncestorTargetAttributionCycleListComRespDto!= null&&  queryCurAndAncestorTargetAttributionCycleListComRespDto.getTargetBelongCycleList() !=null&& !CollectionUtil.isEmpty(queryCurAndAncestorTargetAttributionCycleListComRespDto.getTargetBelongCycleList())){
      receptionServiceReq.setTargetBelongCycleList(queryCurAndAncestorTargetAttributionCycleListComRespDto.getTargetBelongCycleList().stream().map(item->item.getEntityId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1905352_1_71069
    }
if(implementParentSubMidCycleTypeAnalysisComRespDto!=null){
      receptionServiceReq.setParentSubMidCycleType(implementParentSubMidCycleTypeAnalysisComRespDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1905356_1_71069
receptionServiceReq.setCycleId(implementParentSubMidCycleTypeAnalysisComRespDto.getCycleId());//SimpleFieldAssign//sourceId:1905357_1_71069
    }

    /*M3接收目标归属周期出参[9482]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq.getParentSubMidCycleType(),"D3执行查询父子中目标归属周期列表(公共)-M3接收目标归属周期出参-父子中过程周期类型不能为空",false);
      receptionServiceRes = nbDashboradStandardData.implementElevenReceivingField(receptionServiceReq);


      receptionServiceRes_1 = receptionServiceRes;
           }
      }
ImplementParentSubMidTargetAttributionCycleComRespDto retData = new ImplementParentSubMidTargetAttributionCycleComRespDto();
  if(receptionServiceRes_1!=null){
      retData.setTargetBelongCycleList(receptionServiceRes_1.getTargetBelongCycleList());//list-field-assign//sourceId:1905358_1
retData.setParentSubMidCycleType(receptionServiceRes_1.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1905359_1
retData.setCycleId(receptionServiceRes_1.getCycleId());//SimpleFieldAssign//sourceId:1905360_1
    }




return retData;
  }
/**
   * D3查询目标周期树数据点标准数据列表(公共)[9908]
   * gen by moon at 7/1/2024, 1:53:09 AM
   */
  @Trace(operationName = "D3查询目标周期树数据点标准数据列表(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryTargetCycleTreeDataTypeStandardDataListComRespDto queryTargetCycleTreeDataTypeStandardDataListCom(QueryTargetCycleTreeDataTypeStandardDataListComReqDto reqDto){


      ImplementTurnSingleFieldParentSubMidCycleTypeComRespDto implementTurnSingleFieldParentSubMidCycleTypeComRespDto_1 =null;
List<OmsEvaluationObjectTargetCycle> listOmsEvaluationObjectTargetCycle_1 =new ArrayList<>();
BatchQueryStandardDataOfObjectComRespDto batchQueryStandardDataOfObjectComRespDto_1 =null;
//virtualUsage D3执行转单字段父子中周期类型(公共)  71164
      ImplementTurnSingleFieldParentSubMidCycleTypeComRespDto implementTurnSingleFieldParentSubMidCycleTypeComRespDto = null;
    ImplementTurnSingleFieldParentSubMidCycleTypeComReqDto implementTurnSingleFieldParentSubMidCycleTypeComReqDto=new ImplementTurnSingleFieldParentSubMidCycleTypeComReqDto();
  if(reqDto!=null){
      implementTurnSingleFieldParentSubMidCycleTypeComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1912370_1_71164
implementTurnSingleFieldParentSubMidCycleTypeComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1912365_1_71164
    }

    /*D3执行转单字段父子中周期类型(公共)[9319]   */
    Assert.isNull(implementTurnSingleFieldParentSubMidCycleTypeComReqDto.getCycleId(),"D3查询目标周期树数据点标准数据列表(公共)-D3执行转单字段父子中周期类型(公共)-周期ID不能为空",false);
Assert.isNull(implementTurnSingleFieldParentSubMidCycleTypeComReqDto.getParentSubMidCycleType(),"D3查询目标周期树数据点标准数据列表(公共)-D3执行转单字段父子中周期类型(公共)-父子中周期类型不能为空",false);
      implementTurnSingleFieldParentSubMidCycleTypeComRespDto = dashboardTargetContentService.implementTurnSingleFieldParentSubMidCycleTypeCom(implementTurnSingleFieldParentSubMidCycleTypeComReqDto)/*vcase invoke isSameApp*/;


      implementTurnSingleFieldParentSubMidCycleTypeComRespDto_1 = implementTurnSingleFieldParentSubMidCycleTypeComRespDto;
//virtualUsage 3-3-09查询目标周期（内容排序）列表  71165
      List<OmsEvaluationObjectTargetCycle> listOmsEvaluationObjectTargetCycle =new ArrayList<>();
    if(implementTurnSingleFieldParentSubMidCycleTypeComRespDto !=null){
          QueryTargetCycleByOrderNumListReq queryTargetCycleByOrderNumListReq=new QueryTargetCycleByOrderNumListReq();
  queryTargetCycleByOrderNumListReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1912362_1_71165
if(reqDto!=null){
      queryTargetCycleByOrderNumListReq.setEvaObjEntityId(reqDto.getEvaObjEntityId());//SimpleFieldAssign//sourceId:1912353_1_71165
queryTargetCycleByOrderNumListReq.setEvaObjTypeCode(reqDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:1912354_1_71165
queryTargetCycleByOrderNumListReq.setTargetCycleContentTypeCode(reqDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:1912355_1_71165
queryTargetCycleByOrderNumListReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1912360_1_71165
queryTargetCycleByOrderNumListReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1912363_1_71165
    }
if(implementTurnSingleFieldParentSubMidCycleTypeComRespDto!=null){
      queryTargetCycleByOrderNumListReq.setCycleId(implementTurnSingleFieldParentSubMidCycleTypeComRespDto.getPeriodId());//SimpleFieldAssign//sourceId:1912356_1_71165
queryTargetCycleByOrderNumListReq.setIsParentCycle(implementTurnSingleFieldParentSubMidCycleTypeComRespDto.getIsParentCycle());//SimpleFieldAssign//sourceId:1912357_1_71165
queryTargetCycleByOrderNumListReq.setIsMetaphase(implementTurnSingleFieldParentSubMidCycleTypeComRespDto.getIsMetaphase());//SimpleFieldAssign//sourceId:1912358_1_71165
queryTargetCycleByOrderNumListReq.setIsSubCycle(implementTurnSingleFieldParentSubMidCycleTypeComRespDto.getIsSubCycle());//SimpleFieldAssign//sourceId:1912359_1_71165
    }

    /*3-3-09查询目标周期（内容排序）列表[9907]   */
    Assert.isNull(queryTargetCycleByOrderNumListReq.getEvaObjEntityId(),"D3查询目标周期树数据点标准数据列表(公共)-3-3-09查询目标周期（内容排序）列表-被评对象内容表主键ID不能为空",false);
Assert.isNull(queryTargetCycleByOrderNumListReq.getEvaObjTypeCode(),"D3查询目标周期树数据点标准数据列表(公共)-3-3-09查询目标周期（内容排序）列表-被评对象类型编码不能为空",false);
Assert.isNull(queryTargetCycleByOrderNumListReq.getEvaluationTemplateId(),"D3查询目标周期树数据点标准数据列表(公共)-3-3-09查询目标周期（内容排序）列表-冗余评价模板ID不能为空",false);
Assert.isNull(queryTargetCycleByOrderNumListReq.getSubjectLifeCycle(),"D3查询目标周期树数据点标准数据列表(公共)-3-3-09查询目标周期（内容排序）列表-主体生命周期不能为空",false);
Assert.isNull(queryTargetCycleByOrderNumListReq.getSpaceId(),"D3查询目标周期树数据点标准数据列表(公共)-3-3-09查询目标周期（内容排序）列表-创建于空间ID不能为空",false);
      listOmsEvaluationObjectTargetCycle = mOmsEvaluationObjectTargetCycleService.queryTargetCycleByOrderNumList(queryTargetCycleByOrderNumListReq)/*vcase invoke 本地 method 方法调用;*/;


      listOmsEvaluationObjectTargetCycle_1 = listOmsEvaluationObjectTargetCycle;
           }
//virtualUsage D4批量查询归属主体标准数据By归属内容表主键ID  71166
      BatchQueryStandardDataOfObjectComRespDto batchQueryStandardDataOfObjectComRespDto = null;
    if(listOmsEvaluationObjectTargetCycle !=null&& !CollectionUtil.isEmpty(listOmsEvaluationObjectTargetCycle)&& listOmsEvaluationObjectTargetCycle.size()>0 &&implementTurnSingleFieldParentSubMidCycleTypeComRespDto !=null){
          BatchQueryStandardDataOfObjectComReqDto batchQueryStandardDataOfObjectComReqDto=new BatchQueryStandardDataOfObjectComReqDto();
  batchQueryStandardDataOfObjectComReqDto.setIsNewData("TRUE");//sourceId:1912700_1_71166
batchQueryStandardDataOfObjectComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1912686_1_71166
if(listOmsEvaluationObjectTargetCycle!= null&& !CollectionUtil.isEmpty(listOmsEvaluationObjectTargetCycle)&&  listOmsEvaluationObjectTargetCycle !=null&& !CollectionUtil.isEmpty(listOmsEvaluationObjectTargetCycle)){
      batchQueryStandardDataOfObjectComReqDto.setStandardDataList(listOmsEvaluationObjectTargetCycle.stream().map(item->item.getEvaObjTargetCycleId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1912678_1_71166
    }
if(reqDto!=null){
      batchQueryStandardDataOfObjectComReqDto.setDataType(reqDto.getDataType());//SimpleFieldAssign//sourceId:1912683_1_71166
batchQueryStandardDataOfObjectComReqDto.setDataUsageSceneCode(reqDto.getDataUsageSceneCode());//SimpleFieldAssign//sourceId:1912684_1_71166
batchQueryStandardDataOfObjectComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1912681_1_71166
batchQueryStandardDataOfObjectComReqDto.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1912687_1_71166
batchQueryStandardDataOfObjectComReqDto.setExtendedField1(reqDto.getExtendedField1());//SimpleFieldAssign//sourceId:1912690_1_71166
batchQueryStandardDataOfObjectComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1912685_1_71166
    }
if(implementTurnSingleFieldParentSubMidCycleTypeComRespDto!=null){
      batchQueryStandardDataOfObjectComReqDto.setPeriodId(implementTurnSingleFieldParentSubMidCycleTypeComRespDto.getPeriodId());//SimpleFieldAssign//sourceId:1912679_1_71166
    }

    /*D4批量查询归属主体标准数据By归属内容表主键ID[8845]   */
    Assert.isNull(batchQueryStandardDataOfObjectComReqDto.getDataType(),"D3查询目标周期树数据点标准数据列表(公共)-D4批量查询归属主体标准数据By归属内容表主键ID-数据点类型不能为空",false);
Assert.isNull(batchQueryStandardDataOfObjectComReqDto.getDataUsageSceneCode(),"D3查询目标周期树数据点标准数据列表(公共)-D4批量查询归属主体标准数据By归属内容表主键ID-数据业务场景不能为空",false);
Assert.isNull(batchQueryStandardDataOfObjectComReqDto.getParentSubMidCycleType(),"D3查询目标周期树数据点标准数据列表(公共)-D4批量查询归属主体标准数据By归属内容表主键ID-父子中周期类型不能为空",false);
Assert.isNull(batchQueryStandardDataOfObjectComReqDto.getIsNewData(),"D3查询目标周期树数据点标准数据列表(公共)-D4批量查询归属主体标准数据By归属内容表主键ID-是否归属周期最新数据不能为空",false);
Assert.isNull(batchQueryStandardDataOfObjectComReqDto.getThemeContentId(),"D3查询目标周期树数据点标准数据列表(公共)-D4批量查询归属主体标准数据By归属内容表主键ID-主题内容ID不能为空",false);
Assert.isNull(batchQueryStandardDataOfObjectComReqDto.getSubjectLifeCycle(),"D3查询目标周期树数据点标准数据列表(公共)-D4批量查询归属主体标准数据By归属内容表主键ID-主体生命周期不能为空",false);
Assert.isNull(batchQueryStandardDataOfObjectComReqDto.getSpaceId(),"D3查询目标周期树数据点标准数据列表(公共)-D4批量查询归属主体标准数据By归属内容表主键ID-创建于空间ID不能为空",false);
      batchQueryStandardDataOfObjectComRespDto = fwCalcStandardDataClient.batchQueryStandardDataOfObjectCom(batchQueryStandardDataOfObjectComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


      batchQueryStandardDataOfObjectComRespDto_1 = batchQueryStandardDataOfObjectComRespDto;
           }
QueryTargetCycleTreeDataTypeStandardDataListComRespDto retData = new QueryTargetCycleTreeDataTypeStandardDataListComRespDto();
  //数据集融合  MoreListToOneSource
        if(listOmsEvaluationObjectTargetCycle_1!= null&& !CollectionUtil.isEmpty(listOmsEvaluationObjectTargetCycle_1) && !CollectionUtil.isEmpty(listOmsEvaluationObjectTargetCycle_1) ){
          for (OmsEvaluationObjectTargetCycle omsEvaluationObjectTargetCycle : listOmsEvaluationObjectTargetCycle_1) {
              EvaObjTargetCycleDto retElm = new EvaObjTargetCycleDto();
             retElm.setEvaObjTargetCycleId(omsEvaluationObjectTargetCycle.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:386859_2
retElm.setEvaObjTargetCycleCode(omsEvaluationObjectTargetCycle.getEvaObjTargetCycleCode());//SimpleFieldAssign//sourceId:386860_2
retElm.setParentEvaObjTargetCycleId(omsEvaluationObjectTargetCycle.getParentEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:386870_2
retElm.setCyclelAlias(omsEvaluationObjectTargetCycle.getCyclelAlias());//SimpleFieldAssign//sourceId:386861_2
retElm.setCycleId(omsEvaluationObjectTargetCycle.getCycleId());//SimpleFieldAssign//sourceId:386863_2
retElm.setCycleStandardName(omsEvaluationObjectTargetCycle.getCycleStandardName());//SimpleFieldAssign//sourceId:386864_2
retElm.setIsParentCycle(omsEvaluationObjectTargetCycle.getIsParentCycle());//SimpleFieldAssign//sourceId:386865_2
retElm.setIsMetaphase(omsEvaluationObjectTargetCycle.getIsMetaphase());//SimpleFieldAssign//sourceId:386866_2
retElm.setIsSubCycle(omsEvaluationObjectTargetCycle.getIsSubCycle());//SimpleFieldAssign//sourceId:386867_2
retElm.setTargetCycleContentTypeCode(omsEvaluationObjectTargetCycle.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:387364_2
retElm.setTargetCycleContentId(omsEvaluationObjectTargetCycle.getTargetCycleContentId());//SimpleFieldAssign//sourceId:386862_2
              retData.getEvaObjTargetCycleList().add(retElm);
               if(batchQueryStandardDataOfObjectComRespDto_1!= null){
          for (StandardDataDto standardDataDto : batchQueryStandardDataOfObjectComRespDto_1.getStandardDataList()) {
                if (standardDataDto.getEntityId().equals(omsEvaluationObjectTargetCycle.getEvaObjTargetCycleId())) {
                 if(batchQueryStandardDataOfObjectComRespDto_1!=null){
      retElm.setDataType(standardDataDto.getDataType());//SimpleFieldAssign//sourceId:386871_2
retElm.setDataResult(standardDataDto.getDataResult());//SimpleFieldAssign//sourceId:386872_2
retElm.setChangeFromLastValue(standardDataDto.getChangeFromLastValue());//SimpleFieldAssign//sourceId:386873_2
retElm.setChangeFromLastRatio(standardDataDto.getChangeFromLastRatio());//SimpleFieldAssign//sourceId:386874_2
retElm.setUnit(standardDataDto.getUnit());//SimpleFieldAssign//sourceId:386875_2
retElm.setExtendedField1(standardDataDto.getExtendedField1());//SimpleFieldAssign//sourceId:386876_2
retElm.setExtendedField2(standardDataDto.getExtendedField2());//SimpleFieldAssign//sourceId:386877_2
retElm.setExtendedField3(standardDataDto.getExtendedField3());//SimpleFieldAssign//sourceId:386878_2
retElm.setExtendedField4(standardDataDto.getExtendedField4());//SimpleFieldAssign//sourceId:386879_2
    }
                }
            }
          }

          }
        }//sourceId:1912704_1
if(implementTurnSingleFieldParentSubMidCycleTypeComRespDto_1!=null){
      retData.setPeriodId(implementTurnSingleFieldParentSubMidCycleTypeComRespDto_1.getPeriodId());//SimpleFieldAssign//sourceId:1913048_1
    }




return retData;
  }
/**
   * D3查询目标周期多数据点标准数据列表(公共)[9909]
   * gen by moon at 7/1/2024, 2:37:50 PM
   */
  @Trace(operationName = "D3查询目标周期多数据点标准数据列表(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryTargetCycleTreeMultiDataTypeStandardDataListComRespDto queryTargetCycleTreeMultiDataTypeStandardDataListCom(QueryTargetCycleTreeMultiDataTypeStandardDataListComReqDto reqDto){


      QueryTargetCycleTreeDataTypeStandardDataListComRespDto queryTargetCycleTreeDataTypeStandardDataListComRespDto_1 =null;
BatchQueryStandardDataOfObjectComRespDto batchQueryStandardDataOfObjectComRespDto_1 =null;
//步骤0: M3执行第十一接收字段（特殊方法） - implementElevenReceivingField
     //ModelCode: receptionService
        ImplementElevenReceivingFieldRespDto receptionServiceRes = null;
    ImplementElevenReceivingFieldReqDto receptionServiceReq=new ImplementElevenReceivingFieldReqDto();
  if(reqDto!=null){
      receptionServiceReq.setDataType1(reqDto.getDataType1());//SimpleFieldAssign//sourceId:1913015_1
receptionServiceReq.setDataType2(reqDto.getDataType2());//SimpleFieldAssign//sourceId:1913014_1
receptionServiceReq.setExtendedField1(reqDto.getExtendedField1());//SimpleFieldAssign//sourceId:1913046_1
receptionServiceReq.setDataUsageSceneCode(reqDto.getDataUsageSceneCode());//SimpleFieldAssign//sourceId:1913016_1
receptionServiceReq.setEvaObjEntityId(reqDto.getEvaObjEntityId());//SimpleFieldAssign//sourceId:1913017_1
receptionServiceReq.setEvaObjTypeCode(reqDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:1913018_1
receptionServiceReq.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1913022_1
receptionServiceReq.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1913021_1
receptionServiceReq.setTargetCycleContentTypeCode(reqDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:1913020_1
receptionServiceReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1913013_1
receptionServiceReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1913019_1
    }

    /*M3接收入参字段[9482]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq.getDataType1(),"D3查询目标周期多数据点标准数据列表(公共)-M3接收入参字段-数据点类型1不能为空",false);
Assert.isNull(receptionServiceReq.getEvaObjEntityId(),"D3查询目标周期多数据点标准数据列表(公共)-M3接收入参字段-被评对象内容表主键ID不能为空",false);
Assert.isNull(receptionServiceReq.getEvaObjTypeCode(),"D3查询目标周期多数据点标准数据列表(公共)-M3接收入参字段-被评对象类型编码不能为空",false);
Assert.isNull(receptionServiceReq.getParentSubMidCycleType(),"D3查询目标周期多数据点标准数据列表(公共)-M3接收入参字段-父子中周期类型不能为空",false);
Assert.isNull(receptionServiceReq.getCycleId(),"D3查询目标周期多数据点标准数据列表(公共)-M3接收入参字段-周期ID不能为空",false);
Assert.isNull(receptionServiceReq.getEvaluationTemplateId(),"D3查询目标周期多数据点标准数据列表(公共)-M3接收入参字段-冗余评价模板ID不能为空",false);
Assert.isNull(receptionServiceReq.getSpaceId(),"D3查询目标周期多数据点标准数据列表(公共)-M3接收入参字段-创建于空间ID不能为空",false);
      receptionServiceRes = nbDashboradStandardData.implementElevenReceivingField(receptionServiceReq);




//步骤1: D3查询目标周期树数据点标准数据列表(公共) - queryTargetCycleTreeDataTypeStandardDataListCom
     QueryTargetCycleTreeDataTypeStandardDataListComRespDto queryTargetCycleTreeDataTypeStandardDataListComRespDto = null;
    QueryTargetCycleTreeDataTypeStandardDataListComReqDto queryTargetCycleTreeDataTypeStandardDataListComReqDto=new QueryTargetCycleTreeDataTypeStandardDataListComReqDto();
  if(reqDto!=null){
      queryTargetCycleTreeDataTypeStandardDataListComReqDto.setDataType(reqDto.getDataType1());//SimpleFieldAssign//sourceId:1912712_1
queryTargetCycleTreeDataTypeStandardDataListComReqDto.setExtendedField1(reqDto.getExtendedField1());//SimpleFieldAssign//sourceId:1912714_1
queryTargetCycleTreeDataTypeStandardDataListComReqDto.setDataUsageSceneCode(reqDto.getDataUsageSceneCode());//SimpleFieldAssign//sourceId:1912713_1
queryTargetCycleTreeDataTypeStandardDataListComReqDto.setEvaObjEntityId(reqDto.getEvaObjEntityId());//SimpleFieldAssign//sourceId:1912705_1
queryTargetCycleTreeDataTypeStandardDataListComReqDto.setEvaObjTypeCode(reqDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:1912706_1
queryTargetCycleTreeDataTypeStandardDataListComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1912707_1
queryTargetCycleTreeDataTypeStandardDataListComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1912708_1
queryTargetCycleTreeDataTypeStandardDataListComReqDto.setTargetCycleContentTypeCode(reqDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:1912709_1
queryTargetCycleTreeDataTypeStandardDataListComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1912710_1
queryTargetCycleTreeDataTypeStandardDataListComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1912711_1
  }


    /*D3查询目标周期树数据点标准数据列表(公共)[9908]   */
    Assert.isNull(queryTargetCycleTreeDataTypeStandardDataListComReqDto.getDataType(),"D3查询目标周期多数据点标准数据列表(公共)-D3查询目标周期树数据点标准数据列表(公共)-数据点类型不能为空",false);
Assert.isNull(queryTargetCycleTreeDataTypeStandardDataListComReqDto.getDataUsageSceneCode(),"D3查询目标周期多数据点标准数据列表(公共)-D3查询目标周期树数据点标准数据列表(公共)-数据业务场景不能为空",false);
Assert.isNull(queryTargetCycleTreeDataTypeStandardDataListComReqDto.getEvaObjEntityId(),"D3查询目标周期多数据点标准数据列表(公共)-D3查询目标周期树数据点标准数据列表(公共)-被评对象内容表主键ID不能为空",false);
Assert.isNull(queryTargetCycleTreeDataTypeStandardDataListComReqDto.getEvaObjTypeCode(),"D3查询目标周期多数据点标准数据列表(公共)-D3查询目标周期树数据点标准数据列表(公共)-被评对象类型编码不能为空",false);
Assert.isNull(queryTargetCycleTreeDataTypeStandardDataListComReqDto.getParentSubMidCycleType(),"D3查询目标周期多数据点标准数据列表(公共)-D3查询目标周期树数据点标准数据列表(公共)-父子中周期类型不能为空",false);
Assert.isNull(queryTargetCycleTreeDataTypeStandardDataListComReqDto.getCycleId(),"D3查询目标周期多数据点标准数据列表(公共)-D3查询目标周期树数据点标准数据列表(公共)-周期ID不能为空",false);
Assert.isNull(queryTargetCycleTreeDataTypeStandardDataListComReqDto.getEvaluationTemplateId(),"D3查询目标周期多数据点标准数据列表(公共)-D3查询目标周期树数据点标准数据列表(公共)-冗余评价模板ID不能为空",false);
Assert.isNull(queryTargetCycleTreeDataTypeStandardDataListComReqDto.getSpaceId(),"D3查询目标周期多数据点标准数据列表(公共)-D3查询目标周期树数据点标准数据列表(公共)-创建于空间ID不能为空",false);
      queryTargetCycleTreeDataTypeStandardDataListComRespDto = queryTargetCycleTreeDataTypeStandardDataListCom(queryTargetCycleTreeDataTypeStandardDataListComReqDto)/*vcase invoke 同服务,同domain*/;


      queryTargetCycleTreeDataTypeStandardDataListComRespDto_1 = queryTargetCycleTreeDataTypeStandardDataListComRespDto;

//步骤2: D4批量查询归属主体标准数据By归属内容表主键ID - batchQueryStandardDataOfObjectCom
     BatchQueryStandardDataOfObjectComRespDto batchQueryStandardDataOfObjectComRespDto = null;
    if(queryTargetCycleTreeDataTypeStandardDataListComRespDto !=null){
          BatchQueryStandardDataOfObjectComReqDto batchQueryStandardDataOfObjectComReqDto=new BatchQueryStandardDataOfObjectComReqDto();
  batchQueryStandardDataOfObjectComReqDto.setIsNewData("TRUE");//sourceId:1913037_1
batchQueryStandardDataOfObjectComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1913041_1
if(queryTargetCycleTreeDataTypeStandardDataListComRespDto!= null&&  queryTargetCycleTreeDataTypeStandardDataListComRespDto.getEvaObjTargetCycleList() !=null&& !CollectionUtil.isEmpty(queryTargetCycleTreeDataTypeStandardDataListComRespDto.getEvaObjTargetCycleList())){
      batchQueryStandardDataOfObjectComReqDto.setStandardDataList(queryTargetCycleTreeDataTypeStandardDataListComRespDto.getEvaObjTargetCycleList().stream().map(item->item.getEvaObjTargetCycleId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1913033_1
    }
if(reqDto!=null){
      batchQueryStandardDataOfObjectComReqDto.setDataType(reqDto.getDataType2());//SimpleFieldAssign//sourceId:1913038_1
batchQueryStandardDataOfObjectComReqDto.setDataUsageSceneCode(reqDto.getDataUsageSceneCode());//SimpleFieldAssign//sourceId:1913039_1
batchQueryStandardDataOfObjectComReqDto.setExtendedField1(reqDto.getExtendedField1());//SimpleFieldAssign//sourceId:1913045_1
batchQueryStandardDataOfObjectComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1913036_1
batchQueryStandardDataOfObjectComReqDto.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1913042_1
batchQueryStandardDataOfObjectComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1913040_1
    }
if(queryTargetCycleTreeDataTypeStandardDataListComRespDto!=null){
      batchQueryStandardDataOfObjectComReqDto.setPeriodId(queryTargetCycleTreeDataTypeStandardDataListComRespDto.getPeriodId());//SimpleFieldAssign//sourceId:1913034_1
    }

    /*D4批量查询归属主体标准数据By归属内容表主键ID[8845]   */
    Assert.isNull(batchQueryStandardDataOfObjectComReqDto.getDataType(),"D3查询目标周期多数据点标准数据列表(公共)-D4批量查询归属主体标准数据By归属内容表主键ID-数据点类型不能为空",false);
Assert.isNull(batchQueryStandardDataOfObjectComReqDto.getDataUsageSceneCode(),"D3查询目标周期多数据点标准数据列表(公共)-D4批量查询归属主体标准数据By归属内容表主键ID-数据业务场景不能为空",false);
Assert.isNull(batchQueryStandardDataOfObjectComReqDto.getParentSubMidCycleType(),"D3查询目标周期多数据点标准数据列表(公共)-D4批量查询归属主体标准数据By归属内容表主键ID-父子中周期类型不能为空",false);
Assert.isNull(batchQueryStandardDataOfObjectComReqDto.getIsNewData(),"D3查询目标周期多数据点标准数据列表(公共)-D4批量查询归属主体标准数据By归属内容表主键ID-是否归属周期最新数据不能为空",false);
Assert.isNull(batchQueryStandardDataOfObjectComReqDto.getThemeContentId(),"D3查询目标周期多数据点标准数据列表(公共)-D4批量查询归属主体标准数据By归属内容表主键ID-主题内容ID不能为空",false);
Assert.isNull(batchQueryStandardDataOfObjectComReqDto.getSubjectLifeCycle(),"D3查询目标周期多数据点标准数据列表(公共)-D4批量查询归属主体标准数据By归属内容表主键ID-主体生命周期不能为空",false);
Assert.isNull(batchQueryStandardDataOfObjectComReqDto.getSpaceId(),"D3查询目标周期多数据点标准数据列表(公共)-D4批量查询归属主体标准数据By归属内容表主键ID-创建于空间ID不能为空",false);
      batchQueryStandardDataOfObjectComRespDto = fwCalcStandardDataClient.batchQueryStandardDataOfObjectCom(batchQueryStandardDataOfObjectComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


      batchQueryStandardDataOfObjectComRespDto_1 = batchQueryStandardDataOfObjectComRespDto;
           }

QueryTargetCycleTreeMultiDataTypeStandardDataListComRespDto retData = new QueryTargetCycleTreeMultiDataTypeStandardDataListComRespDto();
  //数据集融合  MoreListToOneSource
        if(queryTargetCycleTreeDataTypeStandardDataListComRespDto_1!= null && !CollectionUtil.isEmpty(queryTargetCycleTreeDataTypeStandardDataListComRespDto_1.getEvaObjTargetCycleList()) ){
          for (EvaObjTargetCycleDto evaObjTargetCycleDto : queryTargetCycleTreeDataTypeStandardDataListComRespDto_1.getEvaObjTargetCycleList()) {
              EvaObjTargetCycleDto retElm = new EvaObjTargetCycleDto();
             if(queryTargetCycleTreeDataTypeStandardDataListComRespDto_1!=null){
      retElm.setEvaObjTargetCycleId(evaObjTargetCycleDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:387012_2
retElm.setEvaObjTargetCycleCode(evaObjTargetCycleDto.getEvaObjTargetCycleCode());//SimpleFieldAssign//sourceId:387013_2
retElm.setParentEvaObjTargetCycleId(evaObjTargetCycleDto.getParentEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:387014_2
retElm.setCyclelAlias(evaObjTargetCycleDto.getCyclelAlias());//SimpleFieldAssign//sourceId:387015_2
retElm.setCycleId(evaObjTargetCycleDto.getCycleId());//SimpleFieldAssign//sourceId:387017_2
retElm.setCycleStandardName(evaObjTargetCycleDto.getCycleStandardName());//SimpleFieldAssign//sourceId:387018_2
retElm.setIsParentCycle(evaObjTargetCycleDto.getIsParentCycle());//SimpleFieldAssign//sourceId:387019_2
retElm.setIsMetaphase(evaObjTargetCycleDto.getIsMetaphase());//SimpleFieldAssign//sourceId:387020_2
retElm.setIsSubCycle(evaObjTargetCycleDto.getIsSubCycle());//SimpleFieldAssign//sourceId:387021_2
retElm.setTargetCycleContentTypeCode(evaObjTargetCycleDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:387367_2
retElm.setTargetCycleContentId(evaObjTargetCycleDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:387016_2
retElm.setDataType(evaObjTargetCycleDto.getDataType());//SimpleFieldAssign//sourceId:387022_2
retElm.setDataResult(evaObjTargetCycleDto.getDataResult());//SimpleFieldAssign//sourceId:387023_2
retElm.setChangeFromLastValue(evaObjTargetCycleDto.getChangeFromLastValue());//SimpleFieldAssign//sourceId:387024_2
retElm.setChangeFromLastRatio(evaObjTargetCycleDto.getChangeFromLastRatio());//SimpleFieldAssign//sourceId:387025_2
retElm.setUnit(evaObjTargetCycleDto.getUnit());//SimpleFieldAssign//sourceId:387026_2
retElm.setExtendedField1(evaObjTargetCycleDto.getExtendedField1());//SimpleFieldAssign//sourceId:387027_2
retElm.setExtendedField2(evaObjTargetCycleDto.getExtendedField2());//SimpleFieldAssign//sourceId:387028_2
retElm.setExtendedField3(evaObjTargetCycleDto.getExtendedField3());//SimpleFieldAssign//sourceId:387029_2
retElm.setExtendedField4(evaObjTargetCycleDto.getExtendedField4());//SimpleFieldAssign//sourceId:387030_2
    }
              retData.getEvaObjTargetCycleList().add(retElm);
               if(batchQueryStandardDataOfObjectComRespDto_1!= null){
          for (StandardDataDto standardDataDto : batchQueryStandardDataOfObjectComRespDto_1.getStandardDataList()) {
                if (standardDataDto.getEntityId().equals(evaObjTargetCycleDto.getEvaObjTargetCycleId())) {
                 if(batchQueryStandardDataOfObjectComRespDto_1!=null){
      retElm.setDataType1(standardDataDto.getDataType());//SimpleFieldAssign//sourceId:387031_2
retElm.setDataResult1(standardDataDto.getDataResult());//SimpleFieldAssign//sourceId:387032_2
retElm.setUnit1(standardDataDto.getUnit());//SimpleFieldAssign//sourceId:387033_2
    }
                }
            }
          }

          }
        }//sourceId:1913050_1




return retData;
  }
/**
   * D3查询目标周期树多数据点标准数据列表[9910]
   * gen by moon at 7/1/2024, 1:53:15 AM
   */
  @Trace(operationName = "D3查询目标周期树多数据点标准数据列表")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryTargetCycleTreeMultiDataTypeStandardDataListRespDto queryTargetCycleTreeMultiDataTypeStandardDataList(QueryTargetCycleTreeMultiDataTypeStandardDataListReqDto reqDto){


      ImplementElevenReceivingFieldRespDto receptionServiceRes_1 =null;
if((reqDto!= null&& reqDto.getDataType2() == null )) {
        //if(D3查询目标周期树多数据点标准数据列表.数据点类型2 值等于空 )  71169

QueryTargetCycleTreeDataTypeStandardDataListComRespDto queryTargetCycleTreeDataTypeStandardDataListComRespDto = null;
    QueryTargetCycleTreeDataTypeStandardDataListComReqDto queryTargetCycleTreeDataTypeStandardDataListComReqDto=new QueryTargetCycleTreeDataTypeStandardDataListComReqDto();
  if(reqDto!=null){
      queryTargetCycleTreeDataTypeStandardDataListComReqDto.setDataType(reqDto.getDataType1());//SimpleFieldAssign//sourceId:1913073_1_71171
queryTargetCycleTreeDataTypeStandardDataListComReqDto.setExtendedField1(reqDto.getExtendedField1());//SimpleFieldAssign//sourceId:1913075_1_71171
queryTargetCycleTreeDataTypeStandardDataListComReqDto.setDataUsageSceneCode(reqDto.getDataUsageSceneCode());//SimpleFieldAssign//sourceId:1913074_1_71171
queryTargetCycleTreeDataTypeStandardDataListComReqDto.setEvaObjEntityId(reqDto.getEvaObjEntityId());//SimpleFieldAssign//sourceId:1913066_1_71171
queryTargetCycleTreeDataTypeStandardDataListComReqDto.setEvaObjTypeCode(reqDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:1913067_1_71171
queryTargetCycleTreeDataTypeStandardDataListComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1913068_1_71171
queryTargetCycleTreeDataTypeStandardDataListComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1913069_1_71171
queryTargetCycleTreeDataTypeStandardDataListComReqDto.setTargetCycleContentTypeCode(reqDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:1913070_1_71171
queryTargetCycleTreeDataTypeStandardDataListComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1913071_1_71171
queryTargetCycleTreeDataTypeStandardDataListComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1913072_1_71171
    }

    /*D3查询目标周期树数据点标准数据列表(公共)[9908]   */
    Assert.isNull(queryTargetCycleTreeDataTypeStandardDataListComReqDto.getDataType(),"D3查询目标周期树多数据点标准数据列表-D3查询目标周期树数据点标准数据列表(公共)-数据点类型不能为空",false);
Assert.isNull(queryTargetCycleTreeDataTypeStandardDataListComReqDto.getDataUsageSceneCode(),"D3查询目标周期树多数据点标准数据列表-D3查询目标周期树数据点标准数据列表(公共)-数据业务场景不能为空",false);
Assert.isNull(queryTargetCycleTreeDataTypeStandardDataListComReqDto.getEvaObjEntityId(),"D3查询目标周期树多数据点标准数据列表-D3查询目标周期树数据点标准数据列表(公共)-被评对象内容表主键ID不能为空",false);
Assert.isNull(queryTargetCycleTreeDataTypeStandardDataListComReqDto.getEvaObjTypeCode(),"D3查询目标周期树多数据点标准数据列表-D3查询目标周期树数据点标准数据列表(公共)-被评对象类型编码不能为空",false);
Assert.isNull(queryTargetCycleTreeDataTypeStandardDataListComReqDto.getParentSubMidCycleType(),"D3查询目标周期树多数据点标准数据列表-D3查询目标周期树数据点标准数据列表(公共)-父子中周期类型不能为空",false);
Assert.isNull(queryTargetCycleTreeDataTypeStandardDataListComReqDto.getCycleId(),"D3查询目标周期树多数据点标准数据列表-D3查询目标周期树数据点标准数据列表(公共)-周期ID不能为空",false);
Assert.isNull(queryTargetCycleTreeDataTypeStandardDataListComReqDto.getEvaluationTemplateId(),"D3查询目标周期树多数据点标准数据列表-D3查询目标周期树数据点标准数据列表(公共)-冗余评价模板ID不能为空",false);
Assert.isNull(queryTargetCycleTreeDataTypeStandardDataListComReqDto.getSpaceId(),"D3查询目标周期树多数据点标准数据列表-D3查询目标周期树数据点标准数据列表(公共)-创建于空间ID不能为空",false);
      queryTargetCycleTreeDataTypeStandardDataListComRespDto = queryTargetCycleTreeDataTypeStandardDataListCom(queryTargetCycleTreeDataTypeStandardDataListComReqDto)/*vcase invoke 同服务,同domain*/;



//ModelCode: receptionService
        ImplementElevenReceivingFieldRespDto receptionServiceRes = null;
    if(queryTargetCycleTreeDataTypeStandardDataListComRespDto !=null){
          ImplementElevenReceivingFieldReqDto receptionServiceReq=new ImplementElevenReceivingFieldReqDto();
  if(queryTargetCycleTreeDataTypeStandardDataListComRespDto!= null&&  queryTargetCycleTreeDataTypeStandardDataListComRespDto.getEvaObjTargetCycleList() !=null&& !CollectionUtil.isEmpty(queryTargetCycleTreeDataTypeStandardDataListComRespDto.getEvaObjTargetCycleList())){
      receptionServiceReq.setEvaObjTargetCycleList(//objList-to-objLists
        queryTargetCycleTreeDataTypeStandardDataListComRespDto.getEvaObjTargetCycleList().stream().map(item -> {
      EvaObjTargetCycleDto elm = new EvaObjTargetCycleDto();
      //todo dong 未找到匹配生成策略,请检查生成策略elm.setDataType1(),数据源项; to( elm==>tableName:custom_fields_5, fieldEnname:dataType1 ,uniqueId: 387333_2_71173 uniqueSourceId:null_null) from (varName:undefined fieldundefined)
//todo dong 未找到匹配生成策略,请检查生成策略elm.setDataResult1(),数据源项; to( elm==>tableName:custom_fields_6, fieldEnname:dataResult1 ,uniqueId: 387334_2_71173 uniqueSourceId:null_null) from (varName:undefined fieldundefined)
//todo dong 未找到匹配生成策略,请检查生成策略elm.setUnit1(),数据源项; to( elm==>tableName:custom_fields_6, fieldEnname:unit1 ,uniqueId: 387335_2_71173 uniqueSourceId:null_null) from (varName:undefined fieldundefined)
if(item!=null){
      elm.setEvaObjTargetCycleId(item.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:387316_2_71173
elm.setEvaObjTargetCycleCode(item.getEvaObjTargetCycleCode());//SimpleFieldAssign//sourceId:387321_2_71173
elm.setParentEvaObjTargetCycleId(item.getParentEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:387322_2_71173
elm.setCyclelAlias(item.getCyclelAlias());//SimpleFieldAssign//sourceId:387323_2_71173
elm.setCycleId(item.getCycleId());//SimpleFieldAssign//sourceId:387324_2_71173
elm.setIsParentCycle(item.getIsParentCycle());//SimpleFieldAssign//sourceId:387319_2_71173
elm.setIsMetaphase(item.getIsMetaphase());//SimpleFieldAssign//sourceId:387326_2_71173
elm.setIsSubCycle(item.getIsSubCycle());//SimpleFieldAssign//sourceId:387327_2_71173
elm.setTargetCycleContentTypeCode(item.getTargetCycleContentTypeCode()!=null?String.valueOf(item.getTargetCycleContentTypeCode()):"");//SimpleFieldAssign//sourceId:387317_2_71173
elm.setTargetCycleContentId(item.getTargetCycleContentId());//SimpleFieldAssign//sourceId:387318_2_71173
elm.setDataType(item.getDataType());//SimpleFieldAssign//sourceId:387330_2_71173
elm.setDataResult(item.getDataResult());//SimpleFieldAssign//sourceId:387328_2_71173
elm.setChangeFromLastValue(item.getChangeFromLastValue());//SimpleFieldAssign//sourceId:387331_2_71173
elm.setChangeFromLastRatio(item.getChangeFromLastRatio());//SimpleFieldAssign//sourceId:387332_2_71173
elm.setUnit(item.getUnit());//SimpleFieldAssign//sourceId:387329_2_71173
elm.setExtendedField1(item.getExtendedField1());//SimpleFieldAssign//sourceId:387336_2_71173
elm.setExtendedField2(item.getExtendedField2());//SimpleFieldAssign//sourceId:387337_2_71173
elm.setExtendedField3(item.getExtendedField3());//SimpleFieldAssign//sourceId:387338_2_71173
elm.setExtendedField4(item.getExtendedField4());//SimpleFieldAssign//sourceId:387339_2_71173
    }
        return elm;
      }).collect(Collectors.toList()));//objList-to-objLists//sourceId:1913697_1_71173
    }

    /*M3目标周期树标准数据出参[9482]  用于特殊方法接收上游入参。 */

      receptionServiceRes = nbDashboradStandardData.implementElevenReceivingField(receptionServiceReq);


      receptionServiceRes_1 = receptionServiceRes;
           }
      }
else if((reqDto!= null&& reqDto.getDataType2() != null )){
       //elseif(D3查询目标周期树多数据点标准数据列表.数据点类型2 值不等于空 )  71170

QueryTargetCycleTreeMultiDataTypeStandardDataListComRespDto queryTargetCycleTreeMultiDataTypeStandardDataListComRespDto = null;
    QueryTargetCycleTreeMultiDataTypeStandardDataListComReqDto queryTargetCycleTreeMultiDataTypeStandardDataListComReqDto=new QueryTargetCycleTreeMultiDataTypeStandardDataListComReqDto();
  if(reqDto!=null){
      queryTargetCycleTreeMultiDataTypeStandardDataListComReqDto.setDataType1(reqDto.getDataType1());//SimpleFieldAssign//sourceId:1913054_1_71172
queryTargetCycleTreeMultiDataTypeStandardDataListComReqDto.setDataType2(reqDto.getDataType2());//SimpleFieldAssign//sourceId:1913053_1_71172
queryTargetCycleTreeMultiDataTypeStandardDataListComReqDto.setExtendedField1(reqDto.getExtendedField1());//SimpleFieldAssign//sourceId:1913063_1_71172
queryTargetCycleTreeMultiDataTypeStandardDataListComReqDto.setDataUsageSceneCode(reqDto.getDataUsageSceneCode());//SimpleFieldAssign//sourceId:1913055_1_71172
queryTargetCycleTreeMultiDataTypeStandardDataListComReqDto.setEvaObjEntityId(reqDto.getEvaObjEntityId());//SimpleFieldAssign//sourceId:1913056_1_71172
queryTargetCycleTreeMultiDataTypeStandardDataListComReqDto.setEvaObjTypeCode(reqDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:1913057_1_71172
queryTargetCycleTreeMultiDataTypeStandardDataListComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1913058_1_71172
queryTargetCycleTreeMultiDataTypeStandardDataListComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1913059_1_71172
queryTargetCycleTreeMultiDataTypeStandardDataListComReqDto.setTargetCycleContentTypeCode(reqDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:1913060_1_71172
queryTargetCycleTreeMultiDataTypeStandardDataListComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1913061_1_71172
queryTargetCycleTreeMultiDataTypeStandardDataListComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1913062_1_71172
    }

    /*D3查询目标周期多数据点标准数据列表(公共)[9909]   */
    Assert.isNull(queryTargetCycleTreeMultiDataTypeStandardDataListComReqDto.getDataType1(),"D3查询目标周期树多数据点标准数据列表-D3查询目标周期多数据点标准数据列表(公共)-数据点类型1不能为空",false);
Assert.isNull(queryTargetCycleTreeMultiDataTypeStandardDataListComReqDto.getEvaObjEntityId(),"D3查询目标周期树多数据点标准数据列表-D3查询目标周期多数据点标准数据列表(公共)-被评对象内容表主键ID不能为空",false);
Assert.isNull(queryTargetCycleTreeMultiDataTypeStandardDataListComReqDto.getEvaObjTypeCode(),"D3查询目标周期树多数据点标准数据列表-D3查询目标周期多数据点标准数据列表(公共)-被评对象类型编码不能为空",false);
Assert.isNull(queryTargetCycleTreeMultiDataTypeStandardDataListComReqDto.getParentSubMidCycleType(),"D3查询目标周期树多数据点标准数据列表-D3查询目标周期多数据点标准数据列表(公共)-父子中周期类型不能为空",false);
Assert.isNull(queryTargetCycleTreeMultiDataTypeStandardDataListComReqDto.getCycleId(),"D3查询目标周期树多数据点标准数据列表-D3查询目标周期多数据点标准数据列表(公共)-周期ID不能为空",false);
Assert.isNull(queryTargetCycleTreeMultiDataTypeStandardDataListComReqDto.getEvaluationTemplateId(),"D3查询目标周期树多数据点标准数据列表-D3查询目标周期多数据点标准数据列表(公共)-冗余评价模板ID不能为空",false);
Assert.isNull(queryTargetCycleTreeMultiDataTypeStandardDataListComReqDto.getSpaceId(),"D3查询目标周期树多数据点标准数据列表-D3查询目标周期多数据点标准数据列表(公共)-创建于空间ID不能为空",false);
      queryTargetCycleTreeMultiDataTypeStandardDataListComRespDto = queryTargetCycleTreeMultiDataTypeStandardDataListCom(queryTargetCycleTreeMultiDataTypeStandardDataListComReqDto)/*vcase invoke 同服务,同domain*/;



//ModelCode: receptionService
        ImplementElevenReceivingFieldRespDto receptionServiceRes_2 = null;
    if(queryTargetCycleTreeMultiDataTypeStandardDataListComRespDto !=null){
          ImplementElevenReceivingFieldReqDto receptionServiceReq_1=new ImplementElevenReceivingFieldReqDto();
  if(queryTargetCycleTreeMultiDataTypeStandardDataListComRespDto!= null&&  queryTargetCycleTreeMultiDataTypeStandardDataListComRespDto.getEvaObjTargetCycleList() !=null&& !CollectionUtil.isEmpty(queryTargetCycleTreeMultiDataTypeStandardDataListComRespDto.getEvaObjTargetCycleList())){
      receptionServiceReq_1.setEvaObjTargetCycleList(queryTargetCycleTreeMultiDataTypeStandardDataListComRespDto.getEvaObjTargetCycleList().stream().map(item -> BeanUtil.toBean(item, EvaObjTargetCycleDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1913697_1_71174
    }

    /*M3目标周期树标准数据出参[9482]  用于特殊方法接收上游入参。 */

      receptionServiceRes_2 = nbDashboradStandardData.implementElevenReceivingField(receptionServiceReq_1);


      receptionServiceRes_1 = receptionServiceRes_2;
           }
    }
QueryTargetCycleTreeMultiDataTypeStandardDataListRespDto retData = new QueryTargetCycleTreeMultiDataTypeStandardDataListRespDto();
  if(receptionServiceRes_1!=null){
      retData.setEvaObjTargetCycleList(receptionServiceRes_1.getEvaObjTargetCycleList().stream().map(item -> BeanUtil.toBean(item, EvaObjTargetCycleDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1913699_1
    }




return retData;
  }
  //
}
